<?php

namespace frontend\modules\spread\controllers;

use Yii;
use frontend\components\Controller;
use common\logics\ShareLogic;

/**
 * 常见问题与帮助分类接口
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class DownController extends Controller {

    public $closeCheckAuthent = true;

    /**
     * {@inheritdoc}
     */
    protected function verbs() {
        return [
            '*' => ['POST'],
        ];
    }

    /**
     * 问题与帮助分类列表
     * @inheritdoc
     */
    public function actionIndex() {
        $uid = Yii::$app->request->get('uid');
        $data = [];
        //1、查询用户
        $data['user'] = null;
        //2、查询奖励信息
        $data['prize'] = null;
        //返回提示信息以及奖励
        $data['message'] = null;
        //提示下载
        return $data;
    }

}
